package com.rui.study.algorithm.L_Java自动内存管理_GC学习;

/**
 * @program: study
 * @description:
 * @author: Yaowr
 * @create: 2019-02-26 15:40
 **/
public class Bar {

    int a = 1;
    static int b = 2;

    public int sum(int c) {
        return a + b + c;
    }

    /**
     * 启动参数：-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly -Xcomp -XX:CompileCommand=dontinline,*Bar.sum -XX:CompileCommand=compileonly,*Bar.sum
     * @param args
     */
    public static void main(String[] args) {

        System.out.println(new Bar().sum(3));

    }

}
